package com.hx.voice.recognition.admin.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hx.voice.recognition.admin.manager.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jack
 * @since 2019-06-12
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * @description 根据用户ID查询所拥有的菜单以及操作
     * @method  selectAuthorityMenuByUserId
     * @param  [id]
     * @return java.util.List<com.hx.zjb.security.admin.manager.entity.Menu>
     * @date: 2019/6/13 17:28
     * @author:zhoujinbing
     */
    List<Menu> selectAuthorityMenuByUserId(@Param("id") Integer id);
}
